package com.dhecp.project.purchase.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.purchase.domain.PurchasePlanSon;

public interface PurchasePlanSonMapper extends GenericDao<PurchasePlanSon, String> {

    List<PurchasePlanSon> queryListNid(@Param("fNid") String fNid);

    List<PurchasePlanSon> queryListFbm(String code);

    List<PurchasePlanSon> queryListBm(Map<String, Object> params);


    int deleteNid (String fNid);


    /**
     *@Description: 根据母件获得子件
     *@Param: [fBm]
     *@return: java.util.List<com.dhecp.project.business.domain.ProductBasisComponent>
     *@Author: hlf
     *@date: 2022-08-19 14:26
     */
    List<PurchasePlanSon> querySonListByFBm(Map<String, Object> params);
    List<PurchasePlanSon> querySonListByFBm2(Map<String, Object> params);


}
